package com.cdd.role.openFeign;



import com.common.entity.Permission;
import com.common.entity.Role;
import com.common.entity.User;
import com.common.untils.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @create 2022-08-29
 */
@FeignClient(value = "caiduoduo-permission")
public interface RolePermissionFeign {
    //查询所有的权限
    @PostMapping("api/permission/permission/selectAllPermission")
    public List<Permission> selectAllPermission();

}
